class Circle():
    def __init__(self, r):
        self.r = r

    # 计算圆的面积的方法
    def get_area(self):
        return 3.14.__mul__(self.r).__mul__(self.r)

    # 计算圆的周长的方法
    def get_perimeter(self):
        return 2 * 3.13 * self.r


if __name__ == '__main__':
    r = eval(input('请输入圆的半径:'))
    c = Circle(r)
    area = c.get_area()
    perimeter = c.get_perimeter()
    print('圆的面积为:', area)
    print('圆的周长为:', perimeter)
